package com.shengdai.urms.core.service;

import com.shengdai.urms.common.exception.ServiceException;


/**
 * URMS 服务统一例外接口，2010-04-21进行修改，增加错误码接口
 * @author zhangxz
 *  2007-10-10
 */

public class UrmsException extends ServiceException {
	/**
	 * 
	 */
	
	private static final long serialVersionUID = 1L;

	private int errcode = 0;
	
	public UrmsException(String err) {
		super(err);
	}
	
	public UrmsException(int errcode) {
		super("errcode: "+errcode);
		this.errcode = errcode;
	}

	public int getErrcode() {
		return errcode;
	}
	
}
